﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Compose;
namespace libtest
{
    [CommandLine.Command(CommandName = "test")]
    class Class1 : CmdLine
    {
        public Class1() : base("test")
        {
        }

        public override void CallBack(string msg)
        {
            base.CallBack(msg);
        }

        public override string Execute(string input)
        {
            Console.WriteLine("test成功");
            SendMsg("hello", "test成功");
            return "test成功";
        }

        public override string ReceiveMsg(string msg)
        {
            return base.ReceiveMsg(msg);

        }

  
    }
}
